package org.thread.Homework06;/*
 *@Author: gjh
 *Date: 2025/3/1219:06
 *Describe:
 */

public class MainTest {
    public static void main(String[] args) {
        UserInformation u1 = new UserInformation("张三",'A');
        UserInformation u2 = new UserInformation("李四",'B');
        MyRunnable mr = new MyRunnable(u1);
        MyRunnable mr1 = new MyRunnable(u2);
        Thread thread = new Thread(mr);
        Thread thread1 = new Thread(mr1);
        thread.start();
        thread1.start();
    }
}
